<?php
/**
 * Created by PhpStorm.
 * User: lenovo
 * Date: 2018/3/6
 * Time: 15:29
 */

return [
    'app_id' => env('MINIPROGRAM_APP_ID', 'wxa33dbd7bdc61da4c'),
    'secret' => env('MINIPROGRAM_SECRET', 'cb4f4f323005afe77949aa7822b19f2f'),
    'use_laravel_cache' => false,
    // 下面为可选项
    // 指定 API 调用返回结果的类型：array(default)/collection/object/raw/自定义类名
    'response_type' => 'array',

    'log' => [
        'level' => 'debug',
        'file' => __DIR__.'/../storage/logs/wechat.log',
    ],

    /**
     * 小程序
     */
    'miniProgram' => [
        'app_id' => env('MINIPROGRAM_APP_ID'),
        'secret' => env('MINIPROGRAM_SECRET'),

        // 下面为可选项
        // 指定 API 调用返回结果的类型：array(default)/collection/object/raw/自定义类名
        'response_type' => 'array',

        'log' => [
            'level' => env('MINIPROGRAM_LOG_LEVEL'),
            'file' => __DIR__.'/../storage/logs/miniProgram.log',
        ],
    ],
    'miniProgramHz' => [
        'app_id' => env('MINIPROGRAM_APP_ID_YHGJ'),
        'secret' => env('MINIPROGRAM_SECRET_YHGJ'),

        // 下面为可选项
        // 指定 API 调用返回结果的类型：array(default)/collection/object/raw/自定义类名
        'response_type' => 'array',

        'log' => [
            'level' => env('MINIPROGRAM_LOG_LEVEL', 'debug'),
            'file' => __DIR__.'/../storage/logs/miniProgram.log',
        ],
    ],
    'gzh' => [
        'app_id' => env('GZH_APP_ID', 'wx8e082d70f5ecde9b'),
        'secret' => env('GZH', '6926a2ad043706cd866f3d922cfbddc2'),
    ]
];